widget: Add name to widget paths
authorBenjamin Otte <otte@redhat.com>
Tue, 27 Oct 2015 02:11:56 +0000 (03:11 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 27 Oct 2015 02:13:42 +0000 (03:13 +0100)
commita648afae12ab633d89e2c6ea793b1370d3e71df9
tree1443fb96bd5eb809da08beb4bb280847149bad3f
parent517cea36ed31a2326bc453701ef17e98b0a8ccca
widget: Add name to widget paths

This changes widget paths for widgets with a CSS name to return that CSS
name, now that we have added API for it.
This means that style properties are now matches using the CSS name.

Also fix the theme to use the correct name when matching style properties.
gtk/gtkwidget.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css